﻿@model IPagedList<Infinity.BusinessLayer.NationalityViewModel>
@using PagedList;
@using PagedList.Mvc;
@{
    ViewBag.Title = "Index";
    Layout = "~/Areas/Managerial/Views/Shared/_AdminLayout.cshtml";
}


<section class="course-form">
    <h2> <strong>Nationlity</strong></h2>
    <div>
        <p>
            @Html.ActionLink("Create New", "NewNationality", null, new { @class = "send" })
        </p>
    </div>
    @using (Html.BeginForm("Index", "Nationality", FormMethod.Post))
    {
        <b>Seaech By:</b> @Html.RadioButton("searchBy", "name", true) <text>Nationality Name</text>
     
        <br />
        @Html.TextBox("searchfor") <input type="submit" value="Search" />
    }
    <div id="NationalityContainer">
        @{ Html.RenderPartial("_NationalityList", Model);}
    </div>
    </section>
<div style="height:300px"></div>


